package com.fc.mall.portal.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class WithdrawCreate {
    @NotNull
    @Min(value = 1, message = "提现金额不能小于1元")
    private Integer amount;

    @NotEmpty
    private String phone;
}
